package com.springboot.service;

import com.springboot.dto.ExamineDTO;
import com.springboot.enums.ExamineStatus;
import com.springboot.vo.ExamineVO;
import com.springboot.vo.PageVO;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

/**
 * @descrition:
 * @author: lzh
 */
public interface ExamineService {
    /**
     * @descrition:  小程序添加审核信息
     * @param examineDTO :
     * @return : com.springboot.vo.ExamineVO
     */
    ExamineVO addExamine(ExamineDTO examineDTO);

    /**
     * @descrition:  小程序查询用户最近一条的审核信息
     * @param wxUserId :
     * @return : com.springboot.vo.ExamineVO
     */
    ExamineVO findExamine(Integer wxUserId);

    /**
     * @descrition:  后台获取审核列表
     * @param pageNum :
     * @param pageSize :
     * @param status :
     * @return : com.springboot.vo.PageVO
     */
    PageVO getExamineList(Integer pageNum, Integer pageSize, ExamineStatus status);

    /**
     * @descrition: 后台审核
     * @param id :
     * @param flag :
     * @return : void
     */
    void editExamine(Integer id, Integer flag);

    HSSFWorkbook dowloadExecl();
}
